package com.platform.car.service;

import com.platform.common.base.service.BaseService;
import com.platform.car.model.City;

import java.util.List;

public interface CityService extends BaseService<City> {

    /**
     * 根据父ID查询
     * @param parentId
     * @return
     */
    List<City> chooseNext(long parentId);

    /**
     * 根据名字查询
     * @param name
     * @return
     */
    City selectByName(String name);
}
